<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>index</title>
</head>
<body>

<div>卡号<span th:text="${session.user.cardNo}"></span>
    <a th:href="@{/info/logout}">退出登录</a>
</div>

<div style="float: left">


    <ul>
        <li>
            <a th:href="@{/info/tobalance}">查询余额</a>
        </li>
        <li>
            <a th:href="@{/info/totransfer}">转账</a>
        </li>
        <li>
            <a th:href="@{/info/torecord}">查询交易记录</a>
        </li>
        <li>
            <a th:href="@{/info/toupdatePwd}">修改密码</a>
        </li>


    </ul>
</div>

<div style="float: left" >
   <h1>当前操作，修改密码</h1>
   <form method="post" action="/info/updatePwd">
       现在的密码<input type="password" name="oldPassword"><br/>
       请输入密码<input type="password" name="password"><br/>
       请再次输入密码<input type="password" name="password2">
       <input type="submit" value="修改">
   </form>

</div>
<script src="/jquery3.3.1.js"></script>
<script>
    $(function () {

    })
</script>
</body>
</html>